﻿/* Main box */
.certificate-media-box {
    width: 720px;
    min-height: 140px;
    padding: 15px;
    margin: 20px auto;
    border-radius: 14px;
    background: #ffffff;
    border: 2px solid #ff5722;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Video section */
.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* Video box */
.video-box {
    width: 160px;
    height: 90px;
    position: relative;
}

    .video-box iframe {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        pointer-events: none;
    }

/* Play icon */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 8px 14px;
    pointer-events: none;
}

/* Text below video */
.video-note {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-top: 6px;
    text-align: center;
}

/* 🔹 Vertical divider */
.vertical-divider {
    width: 1px;
    height: 100px;
    background-color: #e53935;
}

/* Text section */
.text-section {
    flex: 1;
}

/* Download text */
.media-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    animation: textColorBlink 1.6s infinite;
}

/* Download label */
.download-label {
    color: #ff5722;
    font-weight: bold;
}

/* Blinking text animation */
@keyframes textColorBlink {
    0% {
        color: #e53935;
    }

    33% {
        color: #1e88e5;
    }

    66% {
        color: #43a047;
    }

    100% {
        color: #e53935;
    }
}

/* Text above button */
.download-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Highlighted label */
.download-label {
    color: #d84315;
    font-weight: bold;
}

/* STRONG DOWNLOAD BUTTON */
.download-btn-strong {
    display: inline-block;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 16px rgba(13,71,161,0.45);
    transition: all 0.25s ease;
}

    /* Hover effect */
    .download-btn-strong:hover {
        background: linear-gradient(135deg, #0d47a1, #08306b);
        box-shadow: 0 8px 20px rgba(13,71,161,0.6);
        transform: translateY(-2px);
    }

/* Attention animation */
.download-btn-strong {
    animation: downloadPulse 2s infinite;
}

@keyframes downloadPulse {
    0% {
        box-shadow: 0 0 0 rgba(30,136,229,0);
    }

    50% {
        box-shadow: 0 0 14px rgba(30,136,229,0.7);
    }

    100% {
        box-shadow: 0 0 0 rgba(30,136,229,0);
    }
}

